@extends('layouts.admin')
@push('morecss')
@endpush

@push('morescript')
    <script type="application/javascript">
        let page_params = {
            @can('admin.wxqrcode.index')
            url_list: '{{ route('admin.wxqrcode.scanlog') }}',
            @endcan
        }
    </script>
    <!-- require page js -->
    <script src="{{ mix('js/admin/wxqrcode_scanlog.js') }}"></script>
@endpush
@section('content')
    <div class="wrapper wrapper-content animated fadeInRight ecommerce">
        <div class="ibox-content m-b-sm border-bottom">
            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <label class="control-label" for="from_openid">openId</label>
                        <input type="text" id="from_openid" name="from_openid" value="" placeholder="请输入扫码用户OPENID" class="form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <label class="control-label" for="qrcode_id">二维码场景值ID</label>
                        <input type="text" id="qrcode_id" name="qrcode_id" value="" placeholder="请输入二维码场景值ID" class="form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <label class="control-label" for="relation_id">业务主键ID</label>
                        <input type="text" id="relation_id" name="relation_id" value="" placeholder="请输入业务主键ID" class="form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <label class="control-label" for="group_id">分组</label>
                        <select id="group_id" name="group_id" class="form-control">
                            <option value="">请选择</option>
                            @foreach($groupList as $k => $v)
                                <option value="{{ $v['group_id'] }}">{{ $v['group_name'] }}</option>
                            @endforeach
                        </select>
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <label class="control-label" for="product_name">&nbsp;&nbsp;</label>
                        <div>
                            <button class="btn btn-primary" type="button" id="btn-search"><i class="fa fa-search"></i>
                                搜索
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="toolbar" class="col-sm-2">
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="ibox">
                    <div class="ibox-content">
                        <table id="table" data-classes="table table-no-bordered">
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection